<template>
  <div id="subpage">

    <el-col :span="24" class="warp-breadcrum">
      <el-breadcrumb separator="/">
        <el-breadcrumb-item><b>小程序</b></el-breadcrumb-item>
        <el-breadcrumb-item to="/mini_app/tag">标签管理</el-breadcrumb-item>
        <el-breadcrumb-item>{{smallLesson_id ? '修改' : '添加'}}活动页</el-breadcrumb-item>
      </el-breadcrumb>
    </el-col>

    <div class="content">
      <div class="xcx-head">
        <span class="title">{{smallLesson_id ? '修改' : '添加'}}标签页</span>
      </div>
      <div class="xcx-content">
        <el-form ref="form_data" :model="form_data" :rules="rules" label-width="140px" style="width: 80%;">

          <el-form-item label="标签名称：" prop="name">
            <el-input class="w400" v-model="form_data.name" placeholder="请输入标签名称"></el-input>
          </el-form-item>
          <el-form-item label="排序：" prop="sort">
            <el-input class="w400" v-model="form_data.sort" placeholder="请输入排序"></el-input>
          </el-form-item>

          <el-form-item class="mar_T_50">
            <el-button type="primary" @click="save">保存</el-button>
            <el-button @click="back">返回</el-button>
          </el-form-item>
        </el-form>
      </div>
    </div>
  </div>
</template>
<script src="../../../static/js/mini_app/tag_detail.js"></script>

<style scoped>

</style>
